package com.atguigu.guli.service.base.feign;

import com.atguigu.guli.service.base.result.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "service-ucenter")
public interface UcenterFeignClient {
    @GetMapping("/api/ucenter/member/getUserDto/{memberId}")
    public R getUserDto(@PathVariable String memberId) ;

    //管理员查询指定日期注册用户数量
    @GetMapping("/admin/ucenter/member/getRegisterNum/{day}")
    public R getRegisterNum(@PathVariable String day) ;
}
